package com.moi.command;

/**
 * 命令的接受者
 */
public abstract class Receiver {
    private  Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public Command getCommand() {
        return command;
    }

    public abstract void execute();
}
